package com.example.demo.modules.oss.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.modules.oss.entity.ImageList;

import java.util.List;

public interface ImageListService extends IService<ImageList>{

    /**
     * 查询所有
     * @return
     */
    List<ImageList> listAll(QueryWrapper queryWrapper);

	/**
     * id条件查询
     * @return
     */
    ImageList listOne(Long id);

    /***
     * 保存
     * @param imageList
     * @return
     */
    int insert(ImageList imageList);

}